package com.atguigu.gulimall.cart.config;

/**
 * @author dengchujun
 * @Description
 * @date 2024/6/7
 */
//@Configuration
public class GulimallSessionConfig {
    /*    @Bean
    public CookieSerializer cookieSerializer(){
        DefaultCookieSerializer cookieSerializer=new DefaultCookieSerializer();
        cookieSerializer.setDomainName("gulimall.com");
        cookieSerializer.setCookieName("GuliSSESSION");
        return cookieSerializer;
    }

    @Bean
    public RedisSerializer<Object> redisSerializer(){
        return new GenericJackson2JsonRedisSerializer();
    }*/
}
